This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
class Timezone | ||||
class, Timezone | So, 28. Apr 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: Works. | ||
Function:
Allows you to access information about the current time zone. | ||||
Notes:
The Windows part is not 100% tested. Be carefull! | ||||
GmtDeltaHours as integer | ||||
property, Timezone | So, 28. Apr 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: Works. | ||
Function:
Returns the GMT offset in hours. | ||||
Example:
dim t as timezone t=new timezone gmt.text = format(t.GmtDeltaHours,"+00")+ ":" +format(t.GmtDeltaminutes,"00")+ ":" +format(t.GmtDeltaseconds,"00") | ||||
Notes:
On Windows this information is not available. | ||||
GmtDeltaMinutes as integer | ||||
property, Timezone | So, 28. Apr 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: Works. | ||
Function:
Returns the GMT offset in minutes. | ||||
Example:
dim t as timezone t=new timezone gmt.text = format(t.GmtDeltaHours,"+00")+ ":" +format(t.GmtDeltaminutes,"00")+ ":" +format(t.GmtDeltaseconds,"00") | ||||
Notes:
On Windows this information is not available. | ||||
GmtDeltaSeconds as integer | ||||
property, Timezone | So, 28. Apr 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: Works. | ||
Function:
Returns the GMT offset in seconds. | ||||
Example:
dim t as timezone t=new timezone gmt.text = format(t.GmtDeltaHours,"+00")+ ":" +format(t.GmtDeltaminutes,"00")+ ":" +format(t.GmtDeltaseconds,"00") | ||||
Notes:
On Windows this information is not available. | ||||
GmtDeltaTotalseconds as integer | ||||
property, Timezone | So, 28. Apr 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: Works. | ||
Function:
Returns the GMT offset in seconds. | ||||
Notes:
On Windows this information is not available. | ||||
Latitude as double | ||||
property, Timezone | So, 28. Apr 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: does allways return 0. | ||
Function:
Returns the latitude of the current position on earth. | ||||
Example:
dim longdeg,longmin as integer dim t as timezone t=new timezone longdeg=floor(t.longitude*90) longmin=floor((t.longitude*90-longdeg)*60) lo1.text=format(longdeg,"0")+"°" lo2.text=format(longmin,"0")+"'" | ||||
Notes:
On Windows this information is not available. | ||||
Longitude as double | ||||
property, Timezone | So, 28. Apr 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: does allways return 0. | ||
Function:
Returns the longitude of the current position on earth. | ||||
Example:
dim latdeg,latmin as integer dim t as timezone t=new timezone latdeg=floor(t.latitude*90) latmin=floor((t.latitude*90-latdeg)*60) la1.text=format(latdeg,"0")+"°" la2.text=format(latmin,"0")+"'" | ||||
Notes:
On Windows this information is not available. |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.